All Questions
1 question
1vote
1answer
860views
Count the accumulated rainfall in a 2D mountain range
Challenge: Count how much rain will be collected in the valleys between the peaks of a mountain range in a 2D world. The mountain range is defined by a single array of positive ...